package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.CheckGroupDto;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.vo.CheckGroupVO;

import java.util.List;

public interface CheckGroupService extends IService<CheckGroup> {
    boolean add(CheckGroupDto checkGroupDTO);

    List<CheckGroup> findall();

    void deleteByGroupId(Long id);

    PageResult findByPage(QueryPageBean queryPageBean);

    CheckGroup findById(Long groupId);


    List<CheckGroupVO> findBySetmealId(Long id);
}
